package com.bigdata.booklibraryseatapi.service;

import com.bigdata.booklibraryseatapi.common.pojo.PageResult;
import com.bigdata.booklibraryseatapi.entity.BookRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bigdata.booklibraryseatapi.vo.req.*;
import com.bigdata.booklibraryseatapi.vo.resp.PageRecordRespVO;
import com.bigdata.booklibraryseatapi.vo.resp.UserBookStatusRespVO;

import java.util.List;

/**
 * <p>
 * 预约记录 服务类
 * </p>
 *
 * @author book
 * @since 2023-12-13
 */
public interface IBookRecordService extends IService<BookRecord> {

    void createRecord(CreateRecordReqVO vo);
    void updateRecord(UpdateRecordReqVO vo);

    List<String> getSeatStatus(GetSeatStatusReqVO vo);

    List<UserBookStatusRespVO> getUserBookStatus(UserBookStatusReqVO vo);

    PageResult<PageRecordRespVO> pageRecord(PageRecordReqVO vo);
}
